#!/usr/bin/env bash
if [ ! -n "$1" ] ;then
    P="storage"
else
    P=$1
fi
chown -R www:www $P && chmod -R 755 $P